idf_component_register(
    SRCS 
        "main.cpp"                   # 主文件（位于 main/ 根目录）
        "app/stt.cpp"
        "app/tts.cpp"
        "app/app.cpp"
        "app/my_wifi.cpp"
        "app/global_msg.cpp"
        "app/llm.cpp"
        "mid/recoder.cpp"
        "mid/Loudspeaker.cpp"
        "bsp/bsp_i2s.cpp"
        "bsp/bsp_key.cpp"

    INCLUDE_DIRS 
        "."                 # 允许访问 main/ 根目录下的头文件（如果有）
        "app"
        "bsp"
        "mid"
    EMBED_TXTFILES      # 嵌入的文件
        "my_stt_cert.pem"
        "my_tts_cert.pem"
        "my_django_cert.pem"
)
